/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package component;

import controlP5.*;
import processing.core.PApplet;

/**
 *
 * @author Caliste
 */
public class BtnPlayAndPause 
{
    public BtnPlayAndPause(PApplet mainApp)
    {
        ControlP5 cp5 = new ControlP5(mainApp);
        cp5.addToggle("Play")
        .setPosition(50,100)
        .setSize(50,20);
        
        Toggle test = cp5.get(Toggle.class, "Play");
    }
}
